<template>
  <a-col :span="4">
    <div class="itemWrap">
      <div class="label">
        <span>{{ label }}</span>
      </div>
      <div class="content">
        <slot name="default"></slot>
      </div>
    </div>
  </a-col>
</template>

<script>
export default {
  name: "itemWrap",
  components: {},
  // model: {
  //   prop: "checked",
  //   event: "change"
  // },
  props: {
    span: String,
    label: String
  },
  data() {
    return {};
  },
  methods: {},
  created() {},
  mounted() {},
  watch: {},
  computed: {}
};
</script>

<style scoped="scoped">
.itemWrap {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.itemWrap > .label {
  font-size: 16px;
  line-height: 24px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #646464;
  text-align: right;
  height: 24px;
  padding-left: 4px;
}

.itemWrap > .separator {
  padding: 0px 4px;
}

.itemWrap > .content {
  width: 100%;
  padding: 0px 1px;
}
</style>
